<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="renderer" content="webkit" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  <title>千峰教育大前端Vue教学</title>
  <!-- 引入jquey -->
  <script src="https://cdn.staticfile.org/dayjs/1.8.21/dayjs.min.js"></script>
  <script src="https://unpkg.com/dayjs@1.8.21/plugin/customParseFormat.js"></script>
  <script src="https://cdn.staticfile.org/lodash.js/4.17.11/lodash.min.js"></script>
</head>

<body style="margin:100px;font-size:22px;">
  <script>
    dayjs.extend(dayjs_plugin_customParseFormat)
    window.m = dayjs;
  </script>
  <div>打开调试，进行测试吧</div>
  <h1>lodash</h1>
  <div>_.map([1,2,3], o=>o*2)</div>
  <h1>moment / dayjs </h1>
  <div>m().format('YYYY-MM-DD HH:mm:ss')</div>
</body>

</html>